package com.ship.dispatch.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class BoatsActualCompatibilitySaveDto implements Serializable {
    @ApiModelProperty("船舶名称")
    private String shipName;

    @ApiModelProperty("船舶Imo")
    private String imo;

    @ApiModelProperty("港口名称")
    private String portName;

    @ApiModelProperty("船岸兼容时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date shipCompatibleDate;

    @ApiModelProperty("船岸是否兼容(1:是，2：否)")
    private String shipShoreCompatibility;

    @ApiModelProperty("港口节点：1-装载港，2-卸载港，3-港口名称（新增使用）")
    private String portType;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty("附件id集合")
    private List<String> fileIds;
}
